package com.hopu.v1.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hopu.v1.pojo.classes.EmploymentInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StudentVo extends EmploymentInfo{

    private String classId;

    private String name;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate statusGraduationTime;

}
